package com.ldy.transmit.service.impl;

import java.util.List;

import com.ldy.transmit.mapper.TransmitLogMapper;
import com.ldy.transmit.model.TransmitLog;
import com.ldy.transmit.model.TransmitLogExample;
import com.ldy.transmit.service.TransmitLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class TransmitLogServiceImpl implements TransmitLogService {
	
	//@Autowired
	private TransmitLogMapper transmitLogMapper;
	
	@Override
	public int deleteByPrimaryKey(String id) {
		return transmitLogMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(TransmitLog record) {
		return transmitLogMapper.insert(record);
	}

	@Override
	public int insertSelective(TransmitLog record) {
		return transmitLogMapper.insertSelective(record);
	}

	@Override
	public List<TransmitLog> selectByExampleWithBLOBs(TransmitLogExample example) {
		return transmitLogMapper.selectByExampleWithBLOBs(example);
	}

	@Override
	public List<TransmitLog> selectByExample(TransmitLogExample example) {
		return transmitLogMapper.selectByExample(example);
	}

	@Override
	public TransmitLog selectByPrimaryKey(String id) {
		return transmitLogMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(TransmitLog record) {
		return transmitLogMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKeyWithBLOBs(TransmitLog record) {
		return transmitLogMapper.updateByPrimaryKeyWithBLOBs(record);
	}

	@Override
	public int updateByPrimaryKey(TransmitLog record) {
		return transmitLogMapper.updateByPrimaryKey(record);
	}

}
